package com.chen.corejava;

import java.lang.reflect.Constructor;

/**
 *@author：email: <a href="cyb@ewppay.com"> Administrator </a> 
 *@Date 2017-2-10 上午11:11:18 
 */

public class ReflectionTest {

	public static void printConstruct(Class cl){
		Constructor[] cons = cl.getDeclaredConstructors();
		for(Constructor con : cons){
			System.out.println(con.getName());
			System.out.println(con.getName());
		}
	}
	
	public static void main(String[] args){
		ReflectionTest.printConstruct(Student.class);
	}
}
